package com.yanqu.road.entity.config.skill;

import java.util.ArrayList;
import java.util.List;

public class SkillInfo {
	/**
	 * 编号
	 */
	private int id;
	/**
	 * 类型
	 * 1 增加能力，参数1为固定值，参数2为千分比
	 * 2 增加资质，参数1为固定值，参数2为千分比
	 * 3 增加派遣赚速，参数1无效，参数2为千分比
	 * 4 出战效果，（商战、寻宝）时增加同职业门客实力，参数1为固定值，参数2为千分比，参数3为职业类型
	 */
	private int type;
	/**
	 * 参数数组
	 */
	private List<Integer> paramList = new ArrayList<>();
	/**
	 * 升级参数数组
	 */
	private List<Integer> upgradeParamList = new ArrayList<>();
	/**
	 * 技能最大等级
	 */
	private int maxLevel;
	/**
	 * 消耗道具编号
	 */
	private List<Integer> consumeGoodsId;
	/**
	 * 技能升级类型
	 */
	private List<Integer> upgradeType;

	/**
	 * 星级
	 */
	private int stars;

	/**
	 * 技能分类（客户端改成服务端也存）
	 */
	private int classification;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public List<Integer> getParamList() {
		return paramList;
	}

	public void setParamList(List<Integer> paramList) {
		this.paramList = paramList;
	}

	public List<Integer> getUpgradeParamList() {
		return upgradeParamList;
	}

	public void setUpgradeParamList(List<Integer> upgradeParamList) {
		this.upgradeParamList = upgradeParamList;
	}

	public int getMaxLevel() {
		return maxLevel;
	}

	public void setMaxLevel(int maxLevel) {
		this.maxLevel = maxLevel;
	}

	public List<Integer> getConsumeGoodsId() {
		return consumeGoodsId;
	}

	public void setConsumeGoodsId(List<Integer> consumeGoodsId) {
		this.consumeGoodsId = consumeGoodsId;
	}

	public int getUpgradeType(int goodsIndex) {
		return upgradeType.get(goodsIndex);
	}

	public void setUpgradeType(List<Integer> upgradeType) {
		this.upgradeType = upgradeType;
	}

	public List<Integer> getAllUpgradeType() {
		return new ArrayList<>(upgradeType);
	}

	public int getStars() {
		return stars;
	}

	public void setStars(int stars) {
		this.stars = stars;
	}

	public int getClassification() {
		return classification;
	}

	public void setClassification(int classification) {
		this.classification = classification;
	}
}
